package cn.kn.triage.sys.service;

import cn.kn.triage.common.model.PageBean;
import cn.kn.triage.common.model.R;
import cn.kn.triage.sys.model.Role;
import cn.kn.triage.sys.vo.IRoleVo;

/**
 * @author yinzn
 * @create 2020-10-16 14:31
 */
public interface RoleService {
    R add(Role role);

    R del(Long roleId);

    R get();

    R update(Long roleId, IRoleVo iRoleVo);

    R list(PageBean pageBean, String roleName);

    R all();


}
